<div class="search-box">
	<form class="search_form layui-form" lay-filter="supplier_search_form">
		<div class="layui-inline">
			<label class="layui-form-label">登录名</label>
			<div class="layui-input-inline">
				<input type="text" name="username" autocomplete="off" class="layui-input">
			</div>
		</div><div class="layui-inline">
			<label class="layui-form-label">供应商</label>
			<div class="layui-input-inline">
				<input type="text" name="supplier_name" autocomplete="off" class="layui-input">
			</div>
		</div>
		<div class="layui-inline">
			<label class="layui-form-label">联系电话</label>
			<div class="layui-input-inline">
				<input type="text" name="phone" autocomplete="off" class="layui-input">
			</div>
		</div>
		<div class="pack-up"></div>
	</form>
</div>
<div class="layui-btn-group">
	<a data-id="add_supplier" data-url="{:url('supplier/tplForm')}" data-title="新增供应商" class="layui-btn layui-btn-normal layui-btn-sm tap-nav"><i class="layui-icon layui-icon-add-1"></i>新增</a>
	<button class="layui-btn layui-btn-danger layui-btn-sm del-supplier"><i class="layui-icon layui-icon-delete"></i>删除</button>
</div>
<table class="layui-hide" id="supplier_list" lay-filter="supplier_list"></table>
<script>
	var supplier_list_url = "{:url('supplier/ajaxList')}";
	var supplier_delete_url = "{:url('supplier/ajaxDelete')}";
	var supplier_one_url = "{:url('supplier/ajaxOneData')}";
	var supplier_cols = {$cols};
	var access_config_config_url = "{:url('accessConfig/config')}";
</script>
<script src="/static/js/supplier/supplier.js" type="text/javascript" charset="utf-8"></script>
<script type="text/html" id="supplier_tool">
	<div class="layui-btn-group">
		<a class="layui-btn layui-btn-normal layui-btn-xs tap-nav" lay-event="edit" data-id="edit_supplier_{{ d.staff_id}}" data-url="{:url('supplier/tplForm')}?staff_id={{ d.staff_id}}" data-title="修改供应商"><i class="layui-icon layui-icon-edit"></i></a>
		<a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del" data-title="删除"><i class="layui-icon layui-icon-delete"></i></a>
		<a class="layui-btn layui-btn-danger layui-btn-xs hide-update" lay-event="update"><i class="layui-icon layui-icon-up"></i></a>
	</div>
</script>